<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      nghttp2-1.40.0
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;17.&nbsp;Networking Libraries
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="neon.html" title="neon-0.31.0">Prev</a>
          <p>
            neon-0.31.0
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="rpcsvc-proto.html" title=
          "rpcsvc-proto-1.4.1">Next</a>
          <p>
            rpcsvc-proto-1.4.1
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="netlibs.html" title=
          "Chapter&nbsp;17.&nbsp;Networking Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="nghttp2" name="nghttp2"></a>nghttp2-1.40.0
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to nghttp2
        </h2>
        <p>
          <span class="application">nghttp2</span> is an implementation of
          HTTP/2 and its header compression algorithm, HPACK.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://github.com/nghttp2/nghttp2/releases/download/v1.40.0/nghttp2-1.40.0.tar.xz">
                https://github.com/nghttp2/nghttp2/releases/download/v1.40.0/nghttp2-1.40.0.tar.xz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 8d1a6b96760254e4dd142d7176e8fb7c
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 1.6 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 17 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.1 SBU
              </p>
            </li>
          </ul>
        </div>
        <h3>
          nghttp2 Dependencies
        </h3>
        <h4>
          Recommended
        </h4>
        <p class="required">
          <a class="xref" href="../general/libxml2.html" title=
          "libxml2-2.9.10">libxml2-2.9.10</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="../general/boost.html" title=
          "Boost-1.72.0">Boost-1.72.0</a>, <a class="xref" href=
          "../general/jansson.html" title="Jansson-2.12">jansson-2.12</a>,
          <a class="xref" href="libevent.html" title=
          "libevent-2.1.11">libevent-2.1.11</a>, <a class="xref" href=
          "../general/python2.html" title="Python-2.7.17">Python-2.7.17</a>,
          <a class="ulink" href="http://cunit.sourceforge.net/">CUnit</a>
          (required for the testsuite), <a class="ulink" href=
          "http://cython.org/">Cython</a>, <a class="ulink" href=
          "http://jemalloc.net/">jemalloc</a>, <a class="ulink" href=
          "http://software.schmorp.de/pkg/libev.html">libev</a>, <a class=
          "ulink" href="https://mruby.org/">mruby</a>, <a class="ulink" href=
          "https://tatsuhiro-t.github.io/spdylay/">Spdylay</a>, and <a class=
          "ulink" href="http://sphinx-doc.org/">Sphinx</a>.
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/nghttp2">http://wiki.linuxfromscratch.org/blfs/wiki/nghttp2</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of nghttp2
        </h2>
        <p>
          Install <span class="application">nghttp2</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr     \
            --disable-static  \
            --enable-lib-only \
            --docdir=/usr/share/doc/nghttp2-1.40.0 &amp;&amp;
make</kbd>
</pre>
        <p>
          This package does not come with a usable test suite.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--disable-static</code></em>: This
          switch prevents installation of static versions of the libraries.
        </p>
        <p>
          <em class="parameter"><code>--enable-lib-only</code></em>: only
          build libnghttp2. Omit this switch if you'd like to build the
          example applications, Python bindings, or the C++ asio library.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">None</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Libraries:</strong>
              <span class="segbody">libnghttp2.so</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/usr/include/nghttp2 and
              /usr/share/nghttp2</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="libnghttp2" name="libnghttp2"></a><span class=
                    "term"><code class="filename">libnghttp2.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    an implementation of the Hypertext Transfer Protocol
                    version 2 in C.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-03-23 16:46:15 -0500
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="neon.html" title="neon-0.31.0">Prev</a>
          <p>
            neon-0.31.0
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="rpcsvc-proto.html" title=
          "rpcsvc-proto-1.4.1">Next</a>
          <p>
            rpcsvc-proto-1.4.1
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="netlibs.html" title=
          "Chapter&nbsp;17.&nbsp;Networking Libraries">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
